<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: ndCudaVector Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_cuda_vector.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classnd_cuda_vector-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ndCudaVector Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ndCudaVector:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnd_cuda_vector.png" usemap="#ndCudaVector_map" alt=""/>
  <map id="ndCudaVector_map" name="ndCudaVector_map">
<area href="classnd_cuda_quat.html" alt="ndCudaQuat" shape="rect" coords="0,112,94,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1e2a095a6841461d905ad5c0e5e0c7c6"><td class="memItemLeft" align="right" valign="top"><a id="a1e2a095a6841461d905ad5c0e5e0c7c6"></a>
__device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>ndCudaVector</b> (float val)</td></tr>
<tr class="separator:a1e2a095a6841461d905ad5c0e5e0c7c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85892039953a559c7ffd8de91a39c7f7"><td class="memItemLeft" align="right" valign="top"><a id="a85892039953a559c7ffd8de91a39c7f7"></a>
__device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>ndCudaVector</b> (float val_x, float val_y, float val_z, float val_w)</td></tr>
<tr class="separator:a85892039953a559c7ffd8de91a39c7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19fd2e83e11a361c8cf1414af5454058"><td class="memItemLeft" align="right" valign="top"><a id="a19fd2e83e11a361c8cf1414af5454058"></a>
__device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>ndCudaVector</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;src)</td></tr>
<tr class="separator:a19fd2e83e11a361c8cf1414af5454058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae552ee554ec6dfcc537178ef85f7135b"><td class="memItemLeft" align="right" valign="top"><a id="ae552ee554ec6dfcc537178ef85f7135b"></a>
float __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>GetElement</b> (int i) const</td></tr>
<tr class="separator:ae552ee554ec6dfcc537178ef85f7135b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0b27ac8c0df75d6855cf65ecfedc22"><td class="memItemLeft" align="right" valign="top"><a id="a7b0b27ac8c0df75d6855cf65ecfedc22"></a>
void __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>SetElement</b> (int i, float val)</td></tr>
<tr class="separator:a7b0b27ac8c0df75d6855cf65ecfedc22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae00b6cee705904419ab86cb27bd62a08"><td class="memItemLeft" align="right" valign="top"><a id="ae00b6cee705904419ab86cb27bd62a08"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>operator+</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:ae00b6cee705904419ab86cb27bd62a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e04409747ecf19949a01fe91ebeb0a8"><td class="memItemLeft" align="right" valign="top"><a id="a7e04409747ecf19949a01fe91ebeb0a8"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>operator-</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a7e04409747ecf19949a01fe91ebeb0a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89acd1820538ccd3569ec95c543d837c"><td class="memItemLeft" align="right" valign="top"><a id="a89acd1820538ccd3569ec95c543d837c"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>operator*</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a89acd1820538ccd3569ec95c543d837c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28effc3a460b5bde38643bef147f5dfb"><td class="memItemLeft" align="right" valign="top"><a id="a28effc3a460b5bde38643bef147f5dfb"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>operator&gt;</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a28effc3a460b5bde38643bef147f5dfb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654148b994e59a73828c373b4f3a2117"><td class="memItemLeft" align="right" valign="top"><a id="a654148b994e59a73828c373b4f3a2117"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a654148b994e59a73828c373b4f3a2117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad65fd4843d665e250340897bb4ad7f85"><td class="memItemLeft" align="right" valign="top"><a id="ad65fd4843d665e250340897bb4ad7f85"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Abs</b> () const</td></tr>
<tr class="separator:ad65fd4843d665e250340897bb4ad7f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28b1ad150dfd81d1525c500ef91b818d"><td class="memItemLeft" align="right" valign="top"><a id="a28b1ad150dfd81d1525c500ef91b818d"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Select</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;test, const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a28b1ad150dfd81d1525c500ef91b818d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af190b2da6ecdbe5bf6c83a890a2e9462"><td class="memItemLeft" align="right" valign="top"><a id="af190b2da6ecdbe5bf6c83a890a2e9462"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Min</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:af190b2da6ecdbe5bf6c83a890a2e9462"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a308e2d1a68fd27677508ceda3aeb784e"><td class="memItemLeft" align="right" valign="top"><a id="a308e2d1a68fd27677508ceda3aeb784e"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Max</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;A) const</td></tr>
<tr class="separator:a308e2d1a68fd27677508ceda3aeb784e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab12cbee217e7aeadda0e4026d253c249"><td class="memItemLeft" align="right" valign="top"><a id="ab12cbee217e7aeadda0e4026d253c249"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Floor</b> () const</td></tr>
<tr class="separator:ab12cbee217e7aeadda0e4026d253c249"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0f2e91042957ede3ff3b153f98febea"><td class="memItemLeft" align="right" valign="top"><a id="aa0f2e91042957ede3ff3b153f98febea"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Scale</b> (float s) const</td></tr>
<tr class="separator:aa0f2e91042957ede3ff3b153f98febea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70017f1103710b7edb787951ad431c58"><td class="memItemLeft" align="right" valign="top"><a id="a70017f1103710b7edb787951ad431c58"></a>
float __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>AddHorizontal</b> () const</td></tr>
<tr class="separator:a70017f1103710b7edb787951ad431c58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae21f694fa37f8d328762b3eabf36ff"><td class="memItemLeft" align="right" valign="top"><a id="a0ae21f694fa37f8d328762b3eabf36ff"></a>
float __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>DotProduct</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;B) const</td></tr>
<tr class="separator:a0ae21f694fa37f8d328762b3eabf36ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf7131248e7e90e3db1a0d707264879"><td class="memItemLeft" align="right" valign="top"><a id="abcf7131248e7e90e3db1a0d707264879"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>CrossProduct</b> (const <a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> &amp;B) const</td></tr>
<tr class="separator:abcf7131248e7e90e3db1a0d707264879"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a110c9d72faca17453ec38a20758eb27f"><td class="memItemLeft" align="right" valign="top"><a id="a110c9d72faca17453ec38a20758eb27f"></a>
<a class="el" href="classnd_cuda_vector.html">ndCudaVector</a> __device__ __host__&#160;</td><td class="memItemRight" valign="bottom"><b>Normalize</b> () const</td></tr>
<tr class="separator:a110c9d72faca17453ec38a20758eb27f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classnd_cuda_vector.html">ndCudaVector</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
